<?php
require_once("../includes/connect.php");
$menu_id = $_POST["menu_id"];
$sql = "SELECT page_content FROM tb_page_content WHERE menu_id=".$menu_id;
$query = mysql_query($sql);
$data = mysql_fetch_array($query);
echo json_encode($data);
?>